﻿<UserControl
    x:Class="CrmField.Win8App.UserControls.CrmSettingsPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:CrmField.Win8App"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:callisto="using:Callisto.Controls"
    mc:Ignorable="d"
    d:DesignHeight="400"
    d:DesignWidth="400">

    <StackPanel MinWidth="400" MinHeight="400">
        <TextBlock Text="Please provide your CRM Connection Details" Margin="0,10,0,10" Style="{StaticResource SettingTextStyle}"  />
        <TextBlock Text="URL" Margin="0,10,0,10" Style="{StaticResource SettingTextStyle}"/>
        <callisto:WatermarkTextBox Watermark="http://&lt;orgname&gt;.crm4.dynamics.com" Background="Beige" Margin="0,10,0,10" Text="{Binding Path=URL, Mode=TwoWay}" />
        <TextBlock Text="User Name" Margin="0,10,0,10" Style="{StaticResource SettingTextStyle}"/>
        <callisto:WatermarkTextBox Watermark="username" Background="Beige" Margin="0,10,0,10" Text="{Binding Path=UserName, Mode=TwoWay}"/>
        <TextBlock Text="Password" Margin="0,10,0,10" Style="{StaticResource SettingTextStyle}"/>
        <PasswordBox Margin="0,10,0,10" Password="{Binding Path=Password, Mode=TwoWay}" Background="Beige"/>
        <CheckBox Margin="0,10,0,10" IsChecked="{Binding Path=SavePassword, Mode=TwoWay}" Content="Remember me" Style="{StaticResource SettingCheckBoxStyle}"/>
    </StackPanel>
</UserControl>
